<?php
/**
 *      [Haidao] (C)2013-2099 Dmibox Science and technology co., LTD.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      http://www.haidao.la
 *      tel:400-600-2042
 */
class member_group_logic extends logic
{
	public function __construct() {
		$this->table = model('member_group');
	}

	public function add($params = array()) {
		if(empty($params)) {
			$this->error = '_PARAM_ERROR_';
			return FALSE;
		}
		$result = $this->table->update($params);
		var_dump($result);
	}
}